package com.ruibang.glass.equipment.entity.device;

import com.baomidou.mybatisplus.annotation.*;
import com.ruibang.glass.equipment.dto.FileInfoDTO;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel
@TableName(value = "g_equipment_accident_register")
/**
 * 锅炉
 */
public class AccidentRegister extends BaseEntity implements Serializable {
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "事故区域")
    private String accidentArea;
    @ApiModelProperty(value = "事故名称")
    private String accidentName;
    @ApiModelProperty(value = "事故类别")
    private String accidentCategory;
    @ApiModelProperty(value = "事故影响")
    private String accidentImpact;
    @ApiModelProperty(value = "事故等级")
    private String accidentLevel;
    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;
    @ApiModelProperty(value = "事故总时长")
    private String accidentDuration;
    @ApiModelProperty(value = "事故原因")
    private String accidentCause;
    @ApiModelProperty(value = "事故分析单位")
    private String analysisUnit;
    @ApiModelProperty(value = "主管科室")
    private String supervisingDepartment;
    @ApiModelProperty(value = "事故责任单位")
    private String responsibleUnit;

    @ApiModelProperty(value = "事故责任单位")
    private String responsibleUnitId;

    @TableLogic
    private String isDelete;
    @TableField(exist = false)
    private String fileExist;

    @TableField(exist = false)
    private List<String> removeIdList;

    @TableField(exist = false)
    private List<FileInfoDTO> fileList;

    @TableField(exist = false)
    private List<String> ids;

    @TableField(exist = false)
    private List<String> filesIds;
}
